package com.example.demo1

import com.example.util.p
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
import kotlinx.coroutines.runBlocking


fun main()= runBlocking {

    val job = launch {
        search()
    }

    p("Hello,")
    job.join()

}

suspend fun search(){
    delay(1000L)
    p("World")
}






